{extend name="public/help" /}
{block name="oneMenuName"}{$crumbs['oneMenuName']}{/block}
{block name="twoMenuName"}{$crumbs['twoMenuName']}{/block}
{block name="body"}
<div class="main-content">
    <div class="row">
        <div class="col-lg-6">
            <div class="card alert">
                <div class="card-header">
                    <h4>搜索</h4>
                </div>
                <div class="card-body">
                    <div class="basic-form">
                        <form>
                            <div class="form-group">
                                <div class="input-group input-group-default">
                                    <span class="input-group-btn">
                                        <button class="btn btn-primary" type="submit">
                                            <i class="ti-search"></i>
                                        </button>
                                    </span>
                                    <select class="form-control" name="search">
                                        <option value="">-- 全部 --</option>
                                        {volist name="business" id="vo"}
                                        <option value="{$vo.id}"
                                                {eq name="$vo.id" value=":input('search')"}selected{/eq}
                                        >{$vo.name}</option>
                                        {/volist}
                                    </select>
                                </div>
                            </div>
                        </form>

                    </div>

                </div>

                <div class="card alert">
                    <div class="card-header">
                        <h4>用户列表</h4>
                    </div>
                    <div class="card-body">
                        <table class="table table-responsive table-bordered">
                            <thead>
                            <tr>
                                <th>商家名称</th>
                                <th>已提现</th>
                                <th>待提现</th>
                                <th>可提现金额</th>
                                <th>不可提现金额</th>

                            </tr>
                            </thead>
                            <tbody>
                            {foreach $list_data as $k => $v}
                            <tr>
                                <td scope="row">{$v.b_name}</td>
                                <td scope="row">{$v.yitixian}</td>
                                <td scope="row">{$v.daitixian}</td>
                                <td scope="row">{$v.ketixian}</td>
                                <td scope="row">{$v.butixian}</td>
                            </tr>
                            {/foreach}
                            </tbody>
                        </table>
                        {$data->render()}
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

{/block}
{block name="js"}

{/block}

